#include<stdio.h>
#include<math.h>
int amin()
{
    float log1(int n);
    float sqrt1(int n1);
    float yuan(int n2);
    float log2(int n);
    float pingf(int n);
    float lif(int n);
    float min(int n);
    float jiec(int n);
    int n,i;
    scanf("%d\n",&n);
    for(i=1;i<=n;i++)
    {
        printf("%f%f%f%f%f%f%f%f\n",log1(i),sqrt1(i),yuan(i),log2(i),pingf(i),lif(i),min(i),jiec(i));
    }
    return 0;
}
float log1(int n)
{
    float nums1=log10(n)/log10(2);
    return nums1;
}
float sqrt1(int n1)
{
    float nums2=sqrt(n1);
    return nums2;
}
float yuan(int n2)
{
    return n2;
}
float log2(int n)
{
    float nums3=n*(log10(n)/log10(2));
    return nums3;
}
float pingf(int n)
{
    float nums4=n*n;
    return nums4;
}
float lif(int n)
{
    float nums5=n*n*n;
    return nums5;
}
float min(int n)
{
    float nums6=pow(2,n);
    return nums6;
}
float jiec(int n)
{
    int i,nums7=0,num=1;
    for(i=1;i<=n;i++)
    {
        num=num*i;
    }
    nums7=nums7+num;
    return nums7;
}
